查询先享卡订单
商户可以通过商户领卡号查询指定的先享卡,可用于对账或者界面展示。 官方文档
js
wxpay.v3.discountCard.cards._out_card_code_.get({
out_card_code,
})
.then(
({
data: {
card_id,
card_template_id,
out_card_code,
appid,
mchid,
time_range,
state,
unfinished_reason,
total_amount,
pay_information,
create_time,
objectives,
rewards,
sharer_openid,
},
}) => ({
card_id,
card_template_id,
out_card_code,
appid,
mchid,
time_range,
state,
unfinished_reason,
total_amount,
pay_information,
create_time,
objectives,
rewards,
sharer_openid,
})
)